<template>
	<view class="diy-notice"><noticebar :leftIcon="params.icon" :text="params.text" :color="itemStyle.textColor" :background-color="itemStyle.background" :paddingTop="itemStyle.paddingTop" :scrollable="true" /></view>
</template>

<script>
import noticebar from '@/components/noticebar/noticebar.vue';
export default {
	components: {
		noticebar
	},
	props: {
		itemIndex: String,
		itemStyle: Object,
		params: Object
	},
	data() {
		return {};
	}
};
</script>

<style></style>
